package com.ryhx.pay.base.app.userinfo.dao;// 包名所在行

import java.util.List;
import java.util.Map;

import com.ryhx.pay.base.app.modelUserInfo;//model名引入所在行
import com.ryhx.pay.common.exceptions.BizException;//Exception名引入所在行

public interface UserInfoDao{
    UserInfo getUserInfo(Map<String, Object> query) throws BizException;
    List<UserInfo> getUserInfoList(Map<String, Object> query) throws BizException;
    Integer getUserInfoListCount(Map<String, Object> query) throws BizException;
    Long  insertUserInfo(UserInfo userInfo) throws BizException;
    Long  replaceUserInfo(UserInfo userInfo) throws BizException;
    int batchInsertUserInfo(List<UserInfo> list) throws BizException;
    int batchReplaceUserInfo(List<UserInfo> list) throws BizException;
    int batchUpdateUserInfo(List<UserInfo> list) throws BizException;
    int updateUserInfo(UserInfo userInfo) throws BizException;
    int updateUserInfoWithoutNull(UserInfo userInfo) throws BizException;
    int updateUserInfoByWhereSql(Map<String,Object> userInfo) throws BizException;
    int truncateUserInfo() throws BizException;
    int deleteUserInfo(Map<String, Object> query) throws BizException;
    int deleteUserInfoList(Map<String, Object> query) throws BizException;
    int deleteUserInfoByWhereSql(Map<String, Object> query) throws BizException;
    int batchDeleteUserInfo(List<Long> list) throws BizException;
    int batchDeleteUserInfoList(List<UserInfo> userInfoList) throws BizException;
}
